package com.xxxcompany.shop.dao;

import static org.junit.jupiter.api.Assertions.*;

import java.sql.SQLException;

import org.junit.jupiter.api.Test;

import com.xxxcompany.shop.dao.impl.UserDAOImpl;
import com.xxxcompany.shop.entity.User;

import junit.framework.TestCase;

class IUserDAOTest {

	@Test
	void testFind() throws SQLException {
		
		IUserDAO userDAO = new UserDAOImpl();
		
		User user=userDAO.find("admin","123456");
	
		TestCase.assertNotNull(user);
	}

}